package cn.xchats.rpc.common.annotation;

import org.springframework.core.annotation.AliasFor;
import org.springframework.stereotype.Component;

import java.lang.annotation.*;

@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
@Rpc
/*
 *生产端
 *@date 2018/7/2
 */
public @interface RpcService {

    Class RpcInterface();//实现的API接口
}
